<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>

    <style>
        .adblock {
            border: 1px solid red;
            width: 260px;
            height: 160px;
        }

        .adblock .adtitle {
            height: 20px;
        }

        .adblock .close {
            display: inline-block;
            height: 20px;
            width: 20px;
            float: right;
            text-align: center;
            line-height: 20px;
            cursor: pointer;
        }

        .adblock .close:hover {
            background: #ddd;
        }

        .adblock img {
            width: 100%;
            height: 100%;
        }

        .adblock .adlist {
            position: relative;
            width: 260px;
            height: 140px;
        }

        .adblock .item {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .adblock .item .text {
            position: absolute;
            width: 100%;
            bottom: 0px;
            left: 0px;
            padding: 10px;
            background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2));
            box-sizing: border-box;
            font-size: 13px;
            color: white;
        }
    </style>
    <!-- 广告定义 -->
    <div class="adblock">
        <div class="adtitle">
            <span class="close">×</span>
        </div>
        <!-- <div class="adhide">
            展开
            <span class="open">□</span>
        </div> -->
        <div class="adlist">
            <div class="item">
                <a href="#">
                    <img src="http://ad.jnqianle.cn/upload/image/20181212/6368022448638320989676099.jpg" alt="">
                    <div class="text">点击购买红茶</div>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="http://ad.jnqianle.cn/upload/image/20181212/6368022448638320989676099.jpg" alt="">
                    <div class="text">点击购买红茶</div>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="http://ad.jnqianle.cn/upload/image/20181212/6368022448638320989676099.jpg" alt="">
                    <div class="text">点击购买红茶</div>
                </a>
            </div>
            <div class="item">
                <a href="#">
                    <img src="http://ad.jnqianle.cn/upload/image/20181212/6368022448638320989676099.jpg" alt="">
                    <div class="text">点击购买红茶</div>
                </a>
            </div>
        </div>
        <div class="signdiv">
            <div class="sign"></div>
            <div class="sign"></div>
            <div class="sign"></div>
            <div class="sign"></div>
        </div>
    </div>

    <script>

    </script>
</body>

</html>